package com.qianniu.napi.admin.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.qianniu.napi.admin.entity.*;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.SortedMap;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author chenxuebin
 * @since 2018-06-24
 */
public interface IOrderService extends IService<Order> {

    public List<Order> getPTOrderGoodsPage(Long uid, int pageSize, int pageIndex,int status);

    public List<Order> getPTOGoodsPage(Long uid, int pageSize, int pageIndex,int status);

    public List<OrderGoods> getOrderGoodsPage(String uid, int pageSize, int pageIndex, int status);

    public List<Order> getOrderPage(String uid, int pageSize, int pageIndex, int status);

    public List<Order> getHuodongPage(Long uid, int pageSize, int pageIndex, int status);

    public List<Order> getOrdersBygid(Long gid, int pageSize, int pageIndex);

    public Double getOrderMoneyCountbyMonth(Long sid, String month);

    public int getHdCanyushu(Long sid);

    public Account initAccount();

    public Jifen initJifen();

    public Jifen initJifen(Long uid, Long mid, Long mpid);

    public Xnbi initXnbi();

    public Maccount initMaccount();

    public SortedMap<String, Object> getPaymap(Order order, Boolean isRepay, String title);

    public SortedMap<String, Object> getRepaymap(Order order, String title, String oldOrderNo);

    public Long orderFanuid(String oriscene);

    public String getShortno(Long mpid);

    public String getStoreShortno(Long mpid,Long sid);
}
